package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 综合参数字典表(CompreParameters)实体类
 *
 * @author 杨丽辉
 * @since 2021-03-18 14:19:39
 */
@ApiModel("综合参数字典表")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CompreParameters implements Serializable {
    private static final long serialVersionUID = -40449546961170066L;
        /**
    *主键
    * 综合参数表id
    * isnull 1
    */
    @ApiModelProperty(value="综合参数表id", position=1)
    @TableId(type = IdType.ASSIGN_ID)
    private String compreParametersId;

    /**
    * 参数名称
    * isnull 0
    */        @ApiModelProperty(value="参数名称",position=2)
    private String parametersName;
    /**
    * 参数值
    * isnull 0
    */        @ApiModelProperty(value="参数值",position=3)
    private Integer parametersValue;
    /**
    * 参数单位
    * isnull 0
    */        @ApiModelProperty(value="参数单位",position=4)
    private String parametersUnit;
    /**
    * 参数录入时间
    * isnull 0
    */        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        @ApiModelProperty(value="参数录入时间",position=5)
    private LocalDateTime createTime;
    /**
    * 参数说明
    * isnull 0
    */        @ApiModelProperty(value="参数说明",position=6)
    private String parametersDescription;
    /**
    * 参数是否属于支付类（0:属于；1:不属于）
    * isnull 0
    */        @ApiModelProperty(value="参数是否属于支付类（0:属于；1:不属于）",position=7)
    private Integer isPaytype;
        
    public String getCompreParametersId() {
        return compreParametersId;
    }

    public void setCompreParametersId(String compreParametersId) {
        this.compreParametersId = compreParametersId;
    }
        
    public String getParametersName() {
        return parametersName;
    }

    public void setParametersName(String parametersName) {
        this.parametersName = parametersName;
    }
        
    public Integer getParametersValue() {
        return parametersValue;
    }

    public void setParametersValue(Integer parametersValue) {
        this.parametersValue = parametersValue;
    }
        
    public String getParametersUnit() {
        return parametersUnit;
    }

    public void setParametersUnit(String parametersUnit) {
        this.parametersUnit = parametersUnit;
    }
        
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
        
    public String getParametersDescription() {
        return parametersDescription;
    }

    public void setParametersDescription(String parametersDescription) {
        this.parametersDescription = parametersDescription;
    }
        
    public Integer getIsPaytype() {
        return isPaytype;
    }

    public void setIsPaytype(Integer isPaytype) {
        this.isPaytype = isPaytype;
    }

        @Override
    public String toString() {
        return "{" +
                    " \"compreParametersId\":" + compreParametersId +
                                  " ,\"parametersName\":" + parametersName +
                            " ,\"parametersValue\":" + parametersValue +
                            " ,\"parametersUnit\":" + parametersUnit +
                            " ,\"createTime\":" + createTime +
                            " ,\"parametersDescription\":" + parametersDescription +
                            " ,\"isPaytype\":" + isPaytype +
                  '}';
    }


}
